package elasticjob.job;

import com.dangdang.ddframe.job.api.AbstractPerpetualElasticJob;
import com.dangdang.ddframe.job.api.JobExecutionMultipleShardingContext;
import elasticjob.vo.Foo;

import java.util.List;

/**
 * Created by yxw on 2017/3/30.
 */
public class PerpetualJob extends AbstractPerpetualElasticJob<Foo> {
    protected List<Foo> fetchData(JobExecutionMultipleShardingContext jobExecutionMultipleShardingContext) {
        return null;
    }

    protected boolean processData(JobExecutionMultipleShardingContext jobExecutionMultipleShardingContext, Foo foo) {
        return false;
    }
}
